const comTitle = () => {
    let str = '';

    str = `
        <span class="page-title">教学动态</span>
        <span class="bread-navi">当前位置：
            <a href="index.html">首页</a>>
            <a href="dynamicState.html">教学动态</a>
        </span>
    `
    if (document.querySelector(".com-title")) {
        document.querySelector(".com-title").innerHTML = str;
    } else {
        console.error('com-title出了问题');
    }
};

export default { comTitle } 